export type WsMessage = {
    eventName:string
}

export type Relationship = {
    id:string,
    friendName:string
}

export type ChatUserInfo = {
    id:string,
    friendName:string,
    lastDate:string,
    lastMessage:string
}

export type ChatRecord = {
    id?:string,
    relationshipId:string
    from:string,
    to:string,
    type:string,
    content:string
    date?:Date | string
}